package com.nytd.demo.service;

import com.nytd.demo.entity.UserInfo;
import com.nytd.demo.mapper.UserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    public UserInfo selectByName(String name){
        return userInfoMapper.selectByName(name);
    }
}
